package com.yanqu.road.entity.activity.fellingtrees;

import java.util.ArrayList;
import java.util.List;

public class FellingTreesEquip {

    private long uid;
    private int equipId;
    private int baseLv;
    private int lv;
    private boolean lock;
    private List<FellingTreesEquipParam> paramList = new ArrayList<>();

    public FellingTreesEquip() {
    }

    public static FellingTreesEquip createSpecialEquip(int equipId) {
        return new FellingTreesEquip(-1, equipId, 1, 1, true);
    }

    public FellingTreesEquip(long uid, int equipId, int baseLv, int lv, boolean lock) {
        this.uid = uid;
        this.equipId = equipId;
        this.baseLv = baseLv;
        this.lv = lv;
        this.lock = lock;
        this.paramList = new ArrayList<>();
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public int getEquipId() {
        return equipId;
    }

    public void setEquipId(int equipId) {
        this.equipId = equipId;
    }

    public int getBaseLv() {
        return baseLv;
    }

    public void setBaseLv(int baseLv) {
        this.baseLv = baseLv;
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        this.lv = lv;
    }

    public boolean isLock() {
        return lock;
    }

    public void setLock(boolean lock) {
        this.lock = lock;
    }

    public List<FellingTreesEquipParam> getParamList() {
        return paramList;
    }

    public void setParamList(List<FellingTreesEquipParam> paramList) {
        this.paramList = paramList;
    }
}
